package net.maku.kyy.vo;

import lombok.Data;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fhs.core.trans.vo.TransPojo;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import net.maku.framework.common.excel.LocalDateTimeConverter;
import java.time.LocalDateTime;

/**
 * 应用用户token表
 *
 * @author MAKU babamu@126.com
 * <a href="https://maku.net">MAKU</a>
 */
@Data
public class KyyUserTokenExcelVO implements TransPojo {
	@ExcelIgnore
	private Integer id;

	@ExcelProperty("用户ID")
	private Integer userId;

	@ExcelProperty("accessToken")
	private String accessToken;

	@ExcelProperty(value = "accessToken 过期时间", converter = LocalDateTimeConverter.class)
	private LocalDateTime accessTokenExpire;

	@ExcelProperty("refreshToken")
	private String refreshToken;

	@ExcelProperty(value = "refreshToken 过期时间", converter = LocalDateTimeConverter.class)
	private LocalDateTime refreshTokenExpire;

	@ExcelProperty(value = "创建时间", converter = LocalDateTimeConverter.class)
	private LocalDateTime createTime;

}